#!/bin/bash

os_full_name=`uname -s`
os_name=${os_full_name%_*}

#echo $os_name

yzw_hosts_url=""
case $os_name in
	"Darwin")	yzw_hosts_url="file://`pwd`/yzw-hosts" ;;
	"MINGW64")	yzw_hosts_url="file://`pwd -W`/yzw-hosts"  ;;
	*)	;;
esac
#echo $yzw_hosts_url
./merge-update-hosts.sh $yzw_hosts_url

#curl -s https://git.oschina.net/cavintang/update-hosts/raw/master/merge-update-hosts.sh | sudo bash -s 'http://git.oschina.net/cavintang/update-hosts/raw/master/yzw-hosts'
